package com.fusion.lottery.dto;

import java.io.Serializable;
import java.util.List;

/**
 * 分类
 * @author louis
 *
 */
public class ClassifyDto implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private int id;
	
	private String name;
	
	private String code;
	
	private String type;
	
	private int parentId;

	private List<ClassifyDto> children;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public int getParentId() {
		return parentId;
	}

	public void setParentId(int parentId) {
		this.parentId = parentId;
	}

	public List<ClassifyDto> getChildren() {
		return children;
	}

	public void setChildren(List<ClassifyDto> children) {
		this.children = children;
	}
	
}
